export default function Footer() {
  return (
    <footer className="bg-gray-900 text-white pt-16 pb-8">
      <div className="container mx-auto px-4 sm:px-6 lg:px-8">
        <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-12">
          <div>
            <div className="flex items-center mb-6">
              <div className="w-10 h-10 bg-blue-600 rounded-md flex items-center justify-center">
                <span className="text-white font-bold text-xl">JET</span>
              </div>
              <span className="ml-2 text-xl font-semibold text-white">捷益通</span>
            </div>
            <p className="text-gray-400 mb-6">
              捷益通智能财务项目管理系统，助力企业高效运营，实现降本增效与员工激励的双重目标。
            </p>
            <div className="flex space-x-4">
              {['weibo', 'wechat', 'linkedin'].map((social) => (
                <a key={social} href="#" className="text-gray-400 hover:text-white transition-all duration-300 hover:scale-110">
                  <span className="sr-only">{social}</span>
                  <div className="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-blue-600 transition-colors">
                    <svg className="h-5 w-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
                      <path fillRule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clipRule="evenodd" />
                    </svg>
                  </div>
                </a>
              ))}
            </div>
          </div>
          
          <div className="bg-gray-800/50 p-6 rounded-xl">
            <h3 className="text-lg font-semibold text-white mb-6">产品功能</h3>
            <ul className="space-y-3">
               {[
                 { name: "项目全生命周期管理", href: "#features" },
                 { name: "人效提升引擎", href: "#features" },
                 { name: "薪酬与奖金激励体系", href: "#features" },
                 { name: "协同与文档管理", href: "#features" }
               ].map((item, i) => (
                 <li key={i}>
                   <a href={item.href} className="text-gray-400 hover:text-white transition-colors flex items-center group">
                     <span className="inline-block w-0 group-hover:w-2 transition-all mr-0 group-hover:mr-2"></span>
                     {item.name}
                   </a>
                 </li>
               ))}
            </ul>
          </div>
          
           <div className="bg-gray-800/50 p-6 rounded-xl">
             <h3 className="text-lg font-semibold text-white mb-6">关于我们</h3>
             <ul className="space-y-3">
                {[
                     { name: "公司简介", href: "http://www.ework.com.cn" },
                    { name: "团队介绍", href: "http://www.ework.com.cn" },
                    { name: "联系我们", href: "#contact" },
                    { name: "加入我们", href: "#" },

                ].map((item, i) => (
                  <li key={i}>
                     <a 
                       href={item.href} 
                       className="text-gray-400 hover:text-white transition-colors flex items-center group"
                       {...(item.href.startsWith('http') ? { target: '_blank', rel: 'noopener noreferrer' } : {})}
                     >
                       <span className="inline-block w-0 group-hover:w-2 transition-all mr-0 group-hover:mr-2"></span>
                       {item.name}
                     </a>
                  </li>
                ))}
             </ul>
           </div>
           
          <div className="bg-gray-800/50 p-6 rounded-xl">
            <h3 className="text-lg font-semibold text-white mb-6">资源中心</h3>
            <ul className="space-y-3">
              {[
                "帮助文档",
                "视频教程",
                "常见问题",
                "案例研究",

              ].map((item, i) => (
                <li key={i}>
                  <a href="#" className="text-gray-400 hover:text-white transition-colors flex items-center group">
                    <span className="inline-block w-0 group-hover:w-2 transition-all mr-0 group-hover:mr-2"></span>
                    {item}
                  </a>
                </li>
              ))}
            </ul>
          </div>
        </div>
        
        <div className="border-t border-gray-800 pt-8 mt-8">
          <div className="flex flex-col md:flex-row justify-between items-center">
            <div className="flex flex-col md:flex-row items-center md:items-center gap-4 mb-4 md:mb-0">
              <p className="text-gray-400 text-sm">
                &copy; {new Date().getFullYear()} 苏州宝捷信息科技有限公司. 保留所有权利.
              </p>
              <div className="h-4 w-px bg-gray-700 hidden md:block"></div>
               <p className="text-gray-500 text-sm">ICP备案号: 苏ICP备2022034921号-1</p>
            </div>
            <div className="flex flex-wrap justify-center gap-x-6 gap-y-2">
              <a href="#" className="text-gray-400 hover:text-white text-sm transition-colors flex items-center group">
                <span className="inline-block w-0 group-hover:w-2 transition-all mr-0 group-hover:mr-2"></span>
                隐私政策
              </a>
              <a href="#" className="text-gray-400 hover:text-white text-sm transition-colors flex items-center group">
                <span className="inline-block w-0 group-hover:w-2 transition-all mr-0 group-hover:mr-2"></span>
                服务条款
              </a>
              <a href="#" className="text-gray-400 hover:text-white text-sm transition-colors flex items-center group">
                <span className="inline-block w-0 group-hover:w-2 transition-all mr-0 group-hover:mr-2"></span>
                法律声明
              </a>
            </div>
          </div>
        </div>
      </div>
    </footer>
  );
}